﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp" %>
			<tr valign="top">
				<td align="right">循环参数：</td>
				<td>变量：${conf.loopVar}，类型：${conf.loopType}，从：${conf.loopFrom} 到：${conf.loopTo}，步长：${conf.loopStep}，${conf.loopDependency?"顺序执行":"并发执行"}</td>
			</tr>
			<tr valign="top">
				<td align="right">子Job：</td>
				<td><table><c:set var="subConf" value="${ss:getJobConf(jobConfController, conf.subJob.identifier)}"/>
					<tr>
						<th>Job Configuration Id</th>
						<th>Type</th>
						<th>Name</th>
						<th>Description</th>
						<th>Owner</th>
						<th>Avg.Time</th>
						<c:if test="${subConf.parameters!=null}"><th>Parameters</th></c:if>
						<c:if test="${conf.subJob.condition!=null}"><th>Conditions</th></c:if>
					</tr>
					<tr>
						<td><a href="job-conf.action?action=view&identifier=${conf.subJob.identifier.stringIdentifier}">${conf.subJob.identifier.stringIdentifier}</a></td>
						<td>${subConf.type}</td>
						<td>${subConf.name}</td>
						<td>${subConf.description}</td>
						<td>${subConf.owner}</td>
						<td>${ss:timeBetween(subConf.averageRunTime, -1)}</td>
						<c:if test="${subConf.parameters!=null}"><td><c:forEach var="pd" items="${subConf.parameters}">
	<c:choose>
		<c:when test="${ss:getMapValue(conf.subJob.parameters, pd.name)==null}">
							<b>${pd.name}</b>=预设值：${ss:getParameterDefineTypeName(pd.type)}<c:if test="${pd.type!='none'}">，内容：${pd.value}</c:if><br>
		</c:when>
		<c:otherwise>
							<b>${pd.name}</b>=${ss:getMapValue(conf.subJob.parameters, pd.name)}<br>
		</c:otherwise>
	</c:choose>
						</c:forEach></td></c:if>
						<c:if test="${conf.subJob.condition!=null}"><td>${conf.subJob.condition}</td></c:if>
					</tr>
				</table></td>
			</tr>